/*
 * CMSC 331, Section 0101
 * Project 1: Recursive Descent Parser
 */

package cx3k.searcher.util.exception;

public class EndOfLineException extends Exception {
/**
 * This Exception should be thrown when the end of the line being parsed
 * has been reached.
 */
	
	private static final long serialVersionUID = 1L;

	/**
	 * Default constructor, printing a default message.
	 */
	public EndOfLineException(){
		this("EXCEPTION: Reached the end of the line; " +
				"there are no more Tokens to parse.");
	}
	
	/**
	 * Constructor storing a specialized message.
	 * @param msg The specialized message.
	 */
	public EndOfLineException(String msg){
		super(msg);
	}
}
